package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.activity.shuihuyezipai.ShuiHuYeZiCardBattleRecordData;
import com.yanqu.road.entity.activity.shuihuyezipai.ShuiHuYeZiCardPlayRecord;

import java.util.List;
import java.util.Map;

/**
 * @Description 水浒叶子牌 pvp 斗牌回合记录
 * @Author cwq
 * @Data 2022/1/4 17:04
 */
@FieldTypeAnnotation(tableName = "t_c_activity_shuihuyezicard_pvp_battle_round_record")
public class LogShuiHuYeZiCardPVPBattlerRoundRecord {
    @FieldTypeAnnotation(desc = "房间的开启时间 ms")
    private long startTime;
    @FieldTypeAnnotation(desc = "玩家 开局信息")
    private Map<Long, LogShuiHuYeZiCardPVPUserInfo> userMap;
    @FieldTypeAnnotation(desc = "出牌记录")
    private List<ShuiHuYeZiCardPlayRecord> playCardRecordList;
    @FieldTypeAnnotation(desc = "最终胜利玩家id")
    private long winnerId;
    @FieldTypeAnnotation(desc = "结束时间")
    private long endTime;

    public LogShuiHuYeZiCardPVPBattlerRoundRecord(long startTime, Map<Long, LogShuiHuYeZiCardPVPUserInfo> userMap, List<ShuiHuYeZiCardPlayRecord> playCardRecordList, long winnerId, long endTime) {
        this.startTime = startTime;
        this.userMap = userMap;
        this.playCardRecordList = playCardRecordList;
        this.winnerId = winnerId;
        this.endTime = endTime;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public Map<Long, LogShuiHuYeZiCardPVPUserInfo> getUserMap() {
        return userMap;
    }

    public void setUserMap(Map<Long, LogShuiHuYeZiCardPVPUserInfo> userMap) {
        this.userMap = userMap;
    }

    public List<ShuiHuYeZiCardPlayRecord> getPlayCardRecordList() {
        return playCardRecordList;
    }

    public void setPlayCardRecordList(List<ShuiHuYeZiCardPlayRecord> playCardRecordList) {
        this.playCardRecordList = playCardRecordList;
    }

    public long getWinnerId() {
        return winnerId;
    }

    public void setWinnerId(long winnerId) {
        this.winnerId = winnerId;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }
}
